package java68_6;

public class Teacher2Test {
    public static void main(String[] args) {
        Teacher2 t=new Teacher2("老张",32,"经理","本科");
        System.out.println(t);
        //        t.setAge(31);
        //        t.setName("xiaoliu");
        //        t.setEducation("本科");
        t.selfIntro();
        t=new Teacher2("李金哲",25,"教员","本科");
        System.out.println(t);
        t.selfIntro();
        System.out.println(">>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>");
        Teacher2 t2=new Teacher2("老刘",13,"教员","本科");
        t2.selfIntro();
        t2.setAge(33);
        t2.selfIntro();
        System.out.println(">>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>");
        Teacher2 t3=new Teacher2("老刘",13);
        t3.selfIntro();
    }
}
